package com.gitee.liuzhi.framework.starter.base.model;

import com.gitee.liuzhi.framework.starter.base.enums.DataStateEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * Created by 2022/4/29/0029
 *
 * @author LiuZhi
 * @version V1.0
 * @description: BaseEntity
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class BaseEntity {

    /**
     * 创建时间
     */
    private Date dataCreateTime;

    /**
     * 修改时间
     */
    private Date dataUpdateTime;

    /**
     * 数据状态(1:有效；0:无效)
     *
     * @see DataStateEnum
     */
    private Integer dataStatus;

}
